package com.classichu.jetpacksimple.data.local.entity;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;

import java.util.List;

@Entity(tableName = "zhihuStory")
public class ZhihuStory {
    /**
     * title : 一跑步就腿酸、呼吸困难，没法享受跑步怎么破？
     * ga_prefix : 071917
     * images : ["https://pic2.zhimg.com/v2-338895de649a166462589dbf7bc3d4d5.jpg"]
     * multipic : true
     * type : 0
     * id : 9689847
     */

    private String title;
    private String ga_prefix;
    private boolean multipic;
    private int type;
    @NonNull
    @PrimaryKey
    private int id;
    private List<String> images;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getGa_prefix() {
        return ga_prefix;
    }

    public void setGa_prefix(String ga_prefix) {
        this.ga_prefix = ga_prefix;
    }

    public boolean isMultipic() {
        return multipic;
    }

    public void setMultipic(boolean multipic) {
        this.multipic = multipic;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }



}

